import request from '@/utils/request'

// 查询申请结果列表
export function listApprovalDtl(query) {
  return request({
    url: '/manage/approvalDtl/list',
    method: 'get',
    params: query
  })
}

// 查询申请结果详细
export function getApprovalDtl(id) {
  return request({
    url: '/manage/approvalDtl/' + id,
    method: 'get'
  })
}

// 新增申请结果
export function addApprovalDtl(data) {
  return request({
    url: '/manage/approvalDtl',
    method: 'post',
    data: data
  })
}

// 修改申请结果
export function updateApprovalDtl(data) {
  return request({
    url: '/manage/approvalDtl',
    method: 'put',
    data: data
  })
}

// 删除申请结果
export function delApprovalDtl(id) {
  return request({
    url: '/manage/approvalDtl/' + id,
    method: 'delete'
  })
}
